/*
 * @Author: wuhao930406 1148547900@qq.com
 * @Date: 2023-08-10 10:12:54
 * @LastEditors: wuhao930406 1148547900@qq.com
 * @LastEditTime: 2023-11-02 09:36:15
 * @FilePath: /e-bike-pro/src/components/Footer/index.jsx
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
 */
import { useIntl } from 'umi';
import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-layout';
export default ({ style }) => {
  const intl = useIntl();

  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      copyright={` ${currentYear} 上海联捷出品`}
      style={style ?? {}}
      links={[
        {
          key: '备案号',
          title: '联捷安全',
          blankTarget: true,
          href: 'https://beian.miit.gov.cn/',
        },
        {
          key: '电动车综合安全管理平台',
          title: '电动车综合安全管理平台',
          blankTarget: true,
        },
      ]}
    />
  );
};
